package com.googlecode.cswish.security;

import java.util.Map;

import com.googlecode.cswish.security.type.RuleSetOr;


/**
 * @author Jerry.Feng Date: 2008-6-12
 */
public class Permission {

	private Map<String, Map<String, RuleSetOr>> fieldReadPermission;
	
	private Map<String, Map<String, RuleSetOr>> fieldWritePermission;
	
	private Map<String, RuleSetOr> pathPermission;
	
	private Map<String, RuleSetOr> recordPermission;

	public Map<String, Map<String, RuleSetOr>> getFieldReadPermission() {
		return fieldReadPermission;
	}

	public void setFieldReadPermission(
			Map<String, Map<String, RuleSetOr>> fieldReadPermission) {
		this.fieldReadPermission = fieldReadPermission;
	}

	public Map<String, Map<String, RuleSetOr>> getFieldWritePermission() {
		return fieldWritePermission;
	}

	public void setFieldWritePermission(
			Map<String, Map<String, RuleSetOr>> fieldWritePermission) {
		this.fieldWritePermission = fieldWritePermission;
	}

	public Map<String, RuleSetOr> getPathPermission() {
		return pathPermission;
	}

	public void setPathPermission(Map<String, RuleSetOr> pathPermission) {
		this.pathPermission = pathPermission;
	}

	public Map<String, RuleSetOr> getRecordPermission() {
		return recordPermission;
	}

	public void setRecordPermission(Map<String, RuleSetOr> recordPermission) {
		this.recordPermission = recordPermission;
	}
}